package cn.cqie.attendance.manager.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 697
 * @date 2021/6/18 17:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ClassesAdd对象", description="")
public class AdminClassesAdd extends Model {

    private static final long serialVersionUID = -6076396448222680984L;

    @ApiModelProperty(value = "学院id")
    private Integer collegeId;

    @ApiModelProperty(value = "班级id")
    private Integer classId;


    @ApiModelProperty(value = "专业id")
    private Integer majorId;

    @ApiModelProperty(value = "年级Id")
    private Integer gradeId;

    @ApiModelProperty(value = "班主任Id")
    private Integer teacherId;

    @ApiModelProperty(value = "班级名")
    private String className;

    @ApiModelProperty(value = "课程状态 0未结业 1已结业")
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "提交时间")
    private Date submitTime;

}
